package com.ctgu.dao;

import com.ctgu.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    //通过用户id查询其所有订单
    List<Orders> findAll(int user_id);
    //通过订单id删除订单
    Integer deleteOrderById(@Param("id") Integer id);

}
